package space.huyinfu.interceptor;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: 访问拦截器
 * @ClassName: AccessLimitInterceptor
 * @Author: HCode
 * @Date: 2024/5/22 14:47
 * @Version: 1.0
 */
@Component
public class AccessLimitInterceptor extends HandlerInterceptorAdapter {

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        return super.preHandle(request, response, handler);
    }
}
